package com.xzq.erp.constants;

public interface RedisConstants {

    public static final String MEMORY_PREFIX = "chat:memory:";

    public static final String HISTORY_PREFIX = "chat:history:";

    static String buildChatMemoryKey(String conversationId) {
        return MEMORY_PREFIX + conversationId;
    }

     static String buildChatHistoryKey(Long userId) {
        return HISTORY_PREFIX + userId;
    }
}
